package cn.IT.dao;

import java.util.List;

import cn.IT.domain.User;

public interface IUserDAO extends IBaseDAO<User>{
	
	  //根据用户名和密码验证用户
	  public User getUserByNameAndPassword(User u);

	  public List<User> getAllUserExceptSelf(User u);

	  public List<User> getAllUserOrderByContribute();

	  public List<User> getAllApproversExceptSelf(User u);
	  
}
